package org.jeecg.modules.demo.zyExam.zyexamaddpaper.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.experimental.Accessors;

/**
 * @Description: 出卷
 * @Author: jeecg-boot
 * @Date:   2024-01-07
 * @Version: V1.0
 */
@Data
@TableName("zy_exam_add_paper")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(name="zy_exam_add_paper对象", description="组卷")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ZyExamAddPaper implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(name = "id")
    private String id;
	/**所属课程*/
	@Excel(name = "所属课程", width = 15)
    @Schema(name = "所属课程")
    @Dict(dicCode = "zy_source_name")
    private String source;
	/**企业*/
	@Excel(name = "企业", width = 15)
    @Schema(name = "企业")
    private String company;
	/**适用工种*/
	@Excel(name = "人员姓名", width = 15)
    @Schema(name = "人员姓名")
    private String personName;
	/**考试日期*/
	@Excel(name = "考试日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(name = "考试日期")
    private Date examDate;
	/**考试时长*/
	@Excel(name = "考试时长", width = 15)
    @Schema(name = "考试时长")
    private Integer totalTime;
	/**试卷分数*/
	@Excel(name = "试卷分数", width = 15)
    @Schema(name = "试卷分数")
    private Integer totalScore;
	/**通过分数*/
	@Excel(name = "通过分数", width = 15)
    @Schema(name = "通过分数")
    private Integer scorePass;
	/**选择题数目*/
	@Excel(name = "选择题数目", width = 15)
    @Schema(name = "选择题数目")
    private Integer mutilQuestionNumber;
    /**选择题数目*/
    @Excel(name = "多选题数目", width = 15)
    @Schema(name = "多选题数目")
    private Integer mutilChoiceQuestionNumber;
	/**判断题数目*/
	@Excel(name = "判断题数目", width = 15)
    @Schema(name = "判断题数目")
    private Integer judgeQuestionNumber;
	/**填空题数目*/
	@Excel(name = "填空题数目", width = 15)
    @Schema(name = "填空题数目")
    private Integer fillQuestionNumber;
	/**试卷描述*/
	@Excel(name = "试卷描述", width = 15)
    @Schema(name = "试卷描述")
    private String description;
	/**学院*/
	@Excel(name = "学院", width = 15)
    @Schema(name = "学院")
    private String institute;
	/**专业*/
	@Excel(name = "专业", width = 15)
    @Schema(name = "专业")
    private String major;
	/**年级*/
	@Excel(name = "年级", width = 15)
    @Schema(name = "年级")
    private String grade;
	/**试卷类型*/
	@Excel(name = "试卷类型", width = 15)
    @Schema(name = "试卷类型")
    private String type;
	/**小提示*/
	@Excel(name = "试卷名称", width = 15)
    @Schema(name = "试卷名称")
    private String paperName;
	/**试卷编码*/
	@Excel(name = "试卷编码", width = 15)
    @Schema(name = "试卷编码")
    private Integer paperCode;
	/**term*/
	@Excel(name = "term", width = 15)
    @Schema(name = "term")
    private String term;
	/**试卷编码*/
	@Excel(name = "试卷编码", width = 15)
    @Schema(name = "试卷编码")
    private String examCode;
	/**试卷分值*/
	@Excel(name = "试卷分值", width = 15)
    @Schema(name = "试卷分值")
    private Integer scoreTotal;
    /**工地id*/
    @Excel(name = "工地id", width = 15)
    @Schema(name = "工地id")
    private String siteId;

    private String flag;
}
